package top.shaozuo.simple.configuration.microprofile.config.converts;

import org.eclipse.microprofile.config.spi.Converter;

public class LongConverter implements Converter<Long> {

    public static final LongConverter INSTANCE = new LongConverter();

    @Override
    public Long convert(String value) {
        return value != null ? Long.valueOf(value) : null;
    }
}